-- GENERATED SPELL FOR [Scarlet Friar] --


function spell0_1538(pUnit, Event) --@Lesser Heal,Heal--
pUnit:FullCastSpellOnTarget(2052,pUnit)
pUnit:RegisterEvent('Sorts_1538', 2000, 1)
end

function Sorts_1538(pUnit, Event)
local choix_sorts_1538 = math.random(0, 0)
if choix_sorts_1538 == 0 then
pUnit:RegisterEvent('spell0_1538', 1, 1)
end
end

function mob1538_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1538', math.random(1500, 3000), 1)
end

function mob1538_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1538_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1538_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1538, 1, 'mob1538_Action')
RegisterUnitEvent(1538, 2, 'mob1538_Leave')
RegisterUnitEvent(1538, 3, 'mob1538_Kill')
RegisterUnitEvent(1538, 4, 'mob1538_Die')
